#pragma once

#include <linux/types.h>
#include <linux/wait.h>

#define READ     0
#define WRITE    1

#define MAJOR(a) (int)((unsigned short)(a) >> 8)
#define MINOR(a) (int)((unsigned short)(a)&0xFF)

#define NULL     ((void *)0)
#ifdef __KERNEL__

extern dev_t ROOT_DEV;

#endif
